package com.luichi.data;

import com.luichi.data.serviceImpl.LoginImpl;
import com.luichi.data.serviceImpl.RegisterImpl;
import com.luichi.domain.service.ILogin;
import com.luichi.domain.service.IRegister;

/**
 * Created by hlr on 2015/11/11.
 */
public class DataModelFactory {
    private static DataModelFactory ourInstance = new DataModelFactory();

    public static DataModelFactory getInstance() {
        return ourInstance;
    }

    public ILogin getLoginModel() {
        return new LoginImpl();
    }

    public IRegister getRegisterModel() {
        return new RegisterImpl();
    }

}
